services:
  console_formatter:
    class: Monolog\Formatter\LineFormatter
    arguments:
      - "[%%datetime%%]: %%message%%\n"
      - 'H:i:s'

monolog:
    handlers:
        main:
            type: stream
            path: "%kernel.logs_dir%/%kernel.environment%.log"
            level: debug
            channels: ["!event"]
        console:
            type:   console
            process_psr_3_messages: false
            channels: ["!event", "!doctrine", "!console"]
            verbosity_levels:
                VERBOSITY_NORMAL: ERROR
                VERBOSITY_VERBOSE: NOTICE
                VERBOSITY_VERY_VERBOSE: INFO
                VERBOSITY_DEBUG: DEBUG
            formatter: console_formatter
